﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.ServiceModel;
using System.Text;
using System.Data;
using System.Collections;

namespace MySimpleWCFService
{
    /// <summary>
    /// WCF Sample Interface
    /// Author: alep@ciklum.net
    /// </summary>
    [ServiceContract]
    public interface ISample
    {
        /// <summary>
        /// Send Sample Data Item To Service
        /// </summary>
        /// <param name="dataObject">Data Item</param>
        /// <returns>Success</returns>
        [OperationContract]
        bool SendData(
            SampleData dataObject);

        /// <summary>
        /// Send Sample Data Item To Service
        /// </summary>
        /// <param name="dataObject">Data Item</param>
        /// <param name="trace">Trace Information</param>
        /// <returns>Success</returns>
        [OperationContract]
        bool SendData(
            SampleData dataObject,
            TraceData trace);
    
    }
}
